#define  _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdbool.h>
bool isPalindrome(int x)
{
	long int i, sum = 0;
	bool t = true, f = false;
	for (i = x; i > 0; i /= 10)
	{
		sum = sum * 10 + i % 10;
	}
	if (sum == x)
		return t;
	else return f;
}
int main()
{
	bool i = isPalindrome(121);
	if (i)
		printf("yes");
	else
		printf("no");
	return 0;
}